package com.ruoyi.buss.group.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import io.swagger.annotations.ApiModelProperty;

/**
 * 客户群体配置对象 DATA_CUSTOMER_GROUP
 * 
 * @author sxy
 * @date 2021-07-16
 */
public class DataCustomerGroup extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 群体编码 */
    @ApiModelProperty(value = "群体编码")
    @Excel(name = "群体编码")
    private String groupCode;

    /** 群体名称 */
    @ApiModelProperty(value = "群体名称")
    @Excel(name = "群体名称")
    private String groupName;

    /** 状态（1无效，1有效） */
    @ApiModelProperty(value = "状态0=无效，1有效")
    @Excel(name = "状态", readConverterExp = "0=无效，1有效")
    private String status;

    /** 排序 */
    @ApiModelProperty(value = "排序")
    @Excel(name = "排序")
    private String seq;

    /** 机构 */
    @Excel(name = "机构")
    @ApiModelProperty(value = "机构")
    private String orgId;

    /** 客户经理 */
    @Excel(name = "客户经理")
    @ApiModelProperty(value = "客户经理")
    private String userId;

    /** $column.columnComment */
    @ApiModelProperty(value = "id")
    @Excel(name = "id")
    private String id;

    private String idCard;

    /**
     * 客户群体 保存中文
     */
    private String khqt;

    /**
     * 保存
     */
    private String khqtApp;

    @ApiModelProperty(value = "添加时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
    @ApiModelProperty(value = "备注")
    private String remark;

    public String getKhqtApp() {
        return khqtApp;
    }

    public void setKhqtApp(String khqtApp) {
        this.khqtApp = khqtApp;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getKhqt() {
        return khqt;
    }

    public void setKhqt(String khqt) {
        this.khqt = khqt;
    }

    public void setGroupCode(String groupCode)
    {
        this.groupCode = groupCode;
    }

    public String getGroupCode() 
    {
        return groupCode;
    }
    public void setGroupName(String groupName) 
    {
        this.groupName = groupName;
    }

    public String getGroupName() 
    {
        return groupName;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setSeq(String seq) 
    {
        this.seq = seq;
    }

    public String getSeq() 
    {
        return seq;
    }
    public void setOrgId(String orgId) 
    {
        this.orgId = orgId;
    }

    public String getOrgId() 
    {
        return orgId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

//    @Override
//    public String toString() {
//        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
//            .append("groupCode", getGroupCode())
//            .append("groupName", getGroupName())
//            .append("createTime", getCreateTime())
//            .append("updateTime", getUpdateTime())
//            .append("status", getStatus())
//            .append("remark", getRemark())
//            .append("seq", getSeq())
//            .append("orgId", getOrgId())
//            .append("userId", getUserId())
//            .append("id", getId())
//            .toString();
//    }

    @Override
    public String toString() {
        return "DataCustomerGroup{" +
                "groupCode='" + groupCode + '\'' +
                ", groupName='" + groupName + '\'' +
                ", status='" + status + '\'' +
                ", seq='" + seq + '\'' +
                ", orgId='" + orgId + '\'' +
                ", userId='" + userId + '\'' +
                ", id='" + id + '\'' +
                ", idCard='" + idCard + '\'' +
                ", khqt='" + khqt + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", remark='" + remark + '\'' +
                '}';
    }
}
